import request from '@/utils/request'

// 通过桌号查_id
export const getTableIdApi = (params: object) =>
    request({
        url: 'table/get-number',
        method: 'get',
        params
    })

// 修改台桌状态
export const postTableApi = (data: object) =>
    request({
        url: 'table/modify',
        method: 'post',
        data
    })

// 修改订单状态
export const postOrderApi = (data: object) =>
    request({
        url: 'order/modify',
        method: 'post',
        data
    })